package com.simple.base.core.repository.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 租户表
 * </p>
 *
 * @author kin
 * @since 2017-12-19
 */
@TableName("sys_tenant")
public class SysTenant implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 租户标识
     */
	private String code;
    /**
     * 租户名称
     */
	private String name;
    /**
     * 联系电话
     */
	private String phone;
    /**
     * 联系邮箱
     */
	private String email;
    /**
     * 联系地址
     */
	private String address;
	@TableField("create_date")
	private Date createDate;
	@TableField("modify_date")
	private Date modifyDate;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	@Override
	public String toString() {
		return "SysTenant{" +
			", id=" + id +
			", code=" + code +
			", name=" + name +
			", phone=" + phone +
			", email=" + email +
			", address=" + address +
			", createDate=" + createDate +
			", modifyDate=" + modifyDate +
			"}";
	}
}
